import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "领力星球",
  description: "一个有趣的、热爱成长的技术社区",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: "Home", link: "/" },
      { text: "Git", link: "/git" },
      { text: "ThinkPHP", link: "/thinkphp" },
      { text: "MySQL", link: "/mysql" },
      { text: "Request", link: "/request" },
      { text: "网络基础", link: "/network" },
      { text: "编译原理", link: "/compiler" },
    ],

    sidebar: [
      {
        text: "我们是谁",
        items: [
          { text: "社区介绍", link: "/introduction" },
          // { text: 'Runtime API Examples', link: '/api-examples' }
        ],
      },
    ],

    socialLinks: [{ icon: "github", link: "https://github.com/vuejs/vitepress" }],
  },
});
